mountoperation: use the Shell DBus proxy if available
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 21 Jun 2012 01:36:09 +0000 (21:36 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 22 Jun 2012 20:49:05 +0000 (16:49 -0400)
commit44fd03eb47b9492ffaf32ae6dfcca00b7d5a7618
tree2e8925910f97f09d2ac29a5e9cd501392ba1fdf0
parentfb91fa2fbd5ca93afd44744d23c47518cef55ef4
mountoperation: use the Shell DBus proxy if available

Make GMountOperation look for an owner of org.Gtk.MountOperationHandler
if possible, and use it instead of the GTK-based dialogs.
This allows applications to use the implementation offered by the
desktop shell, if available, through a DBus private interface:
org.Gtk.MountOperationHandler.

https://bugzilla.gnome.org/show_bug.cgi?id=674963
gtk/Makefile.am
gtk/gtkdbusinterfaces.xml [new file with mode: 0644]
gtk/gtkmountoperation.c